package com.xhwl.logistics.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

@Setter
@Getter
//@TableName("`cent_vehicle`.`vehc_car_record`")
public class VehicleAccessRecord {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer projectId;

    private String projectCode;

    private String projectName;

    @TableField("third_park_id")
    private String parkId;

    private String ownerName;

    private String ownerPhone;

    private String plateNumber;

    private Integer cardType;

    @TableField("plate_color")
    private String plateColor;

    private Date enterTime;

    private Integer enterType;

    @TableField("enter_pic_url")
    private String enterPictureUrl;

    @TableField("enter_passage")
    private String enterPassageName;

    private Integer enterPassageId;

    @TableField("exist_time")
    private Date exitTime;

    @TableField("exist_type")
    private Integer exitType;

    @TableField("exist_pic_url")
    private String exitPictureUrl;

    @TableField("exist_passage")
    private String exitPassageName;

    private Integer existPassageId;


    private String recordId;

    private Integer status;


    @TableField(fill = FieldFill.INSERT)
    private Date createdAt;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updatedAt;

}
